package com.huo.dao;

import com.huo.pojo.OrderSetting;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface OrderSettingDao {

    /**
     * @Description: 预约添加
     * @Author: 汪青松
     * @Param: [orderSetting]
     * @Return: void
     * @CreateDate: 2021/1/29 23:50
     */
    public void add(OrderSetting orderSetting);

    /**
     * @Description: 预约设置修改
     * @Author: 汪青松
     * @Param: [orderSetting]
     * @Return: void
     * @CreateDate: 2021/1/29 23:49
     */
    public void editNumberByOrderDate(OrderSetting orderSetting);

    /**
     * @Description: 根据预约设置日期校重
     * @Author: 汪青松
     * @Param: [orderDate]
     * @Return: long
     * @CreateDate: 2021/1/29 23:44
     */
    public long findCountByOrderDate(Date orderDate);

    /**
     * @Description: 根据月份查找预约设置列表
     * @Author: 汪青松
     * @Param: [map]
     * @Return: java.util.List<com.huo.pojo.OrderSetting>
     * @CreateDate: 2021/2/2 14:16
     */
    List<OrderSetting> getOrderSettingByDate(Map<String, String> map);
}
